﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Benefit.Models.Sys;
namespace Benefit.Interface.Sys
{
    public interface IProduct
    {


        /// <summary>
        /// 获取所有品种
        /// </summary>
        /// <returns></returns>
        List<Product> GetList();
        /// <summary>
        /// 保存品种
        /// </summary>
        /// <returns></returns>
        int InsertIntoBenefitFromServer(string productId, string exchangeId);

        /// <summary>
        /// 获取分析系统里面的品种的编号
        /// </summary>
        /// <param name="Instrument"></param>
        /// <returns></returns>
        int GetProductId(string productId);
    }
}